<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<%@include file="publicJSCSS.jsp"%>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/HRTWEB/css/myOrder.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/HRTWEB/css/bootstrap/bootstrap.min.css">
<script src="<%=request.getContextPath() %>/HRTWEB/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/HRTWEB/js/myOrder.js"></script>
<script src="<%=request.getContextPath() %>/HRTWEB/js/jqPaginator.js"></script>
<script>
$(document).ready(function(){ 
	$(".trade_status").mouseover(
	function(){
		$(this).find("#dd_menu_top_down").css('display', 'block');
	}).mouseout(function(){
	$(this).find("#dd_menu_top_down").css('display', 'none');})
	});

</script>
<title>我的订单</title>
</head>
<body>
<%@include file="head.jsp"%>
<div class="m-t-xx" id="main">
	<div id="navigation" class="nav m-r-xx" style="float: left;width: 15%;height: 50%;border:1px solid #CCC;">
	    <ul>
			<li id="all"><a href="<%=request.getContextPath() %>/web/orderInfor/list.do?memberId=${HRTMember.id}&status=-1" >所有订单</a></li>
			<li><a href="<%=request.getContextPath() %>/web/orderInfor/list.do?memberId=${HRTMember.id}&status=0" >待付款</a></li>
			<li><a href="<%=request.getContextPath() %>/web/orderInfor/list.do?memberId=${HRTMember.id}&status=1" >待发货</a></li>
			<li><a href="<%=request.getContextPath() %>/web/orderInfor/list.do?memberId=${HRTMember.id}&status=2" >待收货</a></li>
			<li><a href="<%=request.getContextPath() %>/web/orderInfor/list.do?memberId=${HRTMember.id}&status=-3" >待评价</a></li>
			<li><a href="<%=request.getContextPath() %>/web/orderInfor/list.do?memberId=${HRTMember.id}&status=-2" >订单回收站</a></li>
			
		</ul>
	</div>
	<div id="content" class="content" style="float: left;width: 80%;">
		<div>
		  <input id="search" class="search" size="30" placeholder="输入商品标题或者订单号进行搜索"></input>
		  <button type="button" class="btn">订单搜索</button>
		  <span id="more" class='m-l-x'>更多搜索条件</span><br>	
		</div>
		<div id="condition" class="condition m-t-md m-b-x" style="height: 10%;">
		
				成交时间：<input id="startTiem" class="startTime" />到<input id="endTime" class="endTime"/><br/><br>
				交易状态：<select id="payStatus" class="payStatus " style='width:115px;height:30px;'>
				        <option selected='selected'>交易状态</option> 
				        <option value='0'>等待卖家付款</option>  
				        <option value='1'>买家已付款</option>
				        <option value='2'>卖家已发货</option>
				        <option value='3'>交易成功</option>
				        <option value='4'>交易关闭</option>
				        <option value='5'>退款中的订单</option>     
				</select>
				评价状态：<select id="commentStatus" class="commentStatus" style='width:120px;height:30px;'>
				       <option selected='selected'>评价状态</option> 
				        <option value='0'>我已评价</option>  
				        <option value='1'>需我评价</option>
				        <option value='2'>对方已评</option>
				</select>
				<button id="actionSearch" type="submit" class="btn btn">查询</button>
		</div>
		<table id="orderList" class="bought_table" >
		    <thead>
		      <tr class="col_name" id="trTh">
		     <!--  <td ><input id="selectAll" class="checkbox" type="checkbox" /></td> -->
		        <th class="baobei">宝贝</th>
		        <th class="price">单价（元）</th>
		        <th class="quantity">数量</th>
		        <th class="amount">实付款（元）</th>
		        <th class="trade_status myOrder" onmouseover="myddang_show('dd_menu_top_down')" onmouseout="myddang_hidden('dd_menu_top_down')">
		        <a href="#" target="_self">交易状态</a><img src="<%=request.getContextPath() %>/HRTWEB/images/down.gif" alt="arrow" />
		           <div  id="dd_menu_top_down" class="myOrder">
		               <a href="#" target="_self">等待卖家付款</a><br />
		               <a href="#" target="_self">买家已付款</a><br />
		               <a href="#" target="_self">卖家已发货</a><br />
		               <a href="#" target="_self">交易成功</a><br />
		               <a href="#" target="_self">交易关闭</a><br />
		               <a href="#" target="_self">退款中的订单</a><br />
		           </div>
		        </th>
		        <th class="trade_operate">交易操作</th>
		      </tr> 
		   </thead>
       </table>
			<div style="text-align: center;">
				<ul class="pagination" id="pagination3"></ul>
			</div>
			<div style="text-align: center;">
				<div id="pageResult">
					<input id="pageCount" type="hidden" value="${pageResult.pageCount}" />
					<input id="totalCount" type="hidden" value="${pageResult.totalCount}" />
					<input id="pageIndex" type="hidden" value="${pageResult.pageIndex}" />
					<input id="pageSize" type="hidden" value="${pageResult.pageSize}" />
					<input id="status" type="hidden" value="${STATUS}" />
					<input id="memberId" type="hidden" value="${HRTMember.id}" />
			</div>

	</div>
</div>	
</div>
	<div id="footer" class="footer">
	<%@include file="foot.jsp"%>
	</div>
</body>
</html>